package com.rzico.report.service;

import com.rzico.report.entity.OrderReportFormVo;
import com.rzico.report.entity.ShopSaleDetailVo;
import com.rzico.report.mapper.OrderReportMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class OrderReportFormService {

    @Autowired
    OrderReportMapper orderReportMapper;

    public List<OrderReportFormVo> query(Map<String, Object> params) {

        return orderReportMapper.queryOrderReport(params);
    }

    public List<ShopSaleDetailVo> queryShopSaleDetail(Map<String, Object> params) {
        return orderReportMapper.queryShopSaleDetail(params);
    }
}
